﻿using System.Collections.Generic;

namespace BaseSyntax.Values.StringTest.Yaml.Configs
{
	public static class CoronaMap
	{
		static Dictionary<string, string> d1 = new Dictionary<string, string>();

		static CoronaMap()
		{
			d1["GameObject"] = "gameObject";
			d1["Image"] = "imageRect";
			
			d1["Text"] = "text";
		}

		public static string GetCoronaType(string unityType)
		{
			if (d1.ContainsKey(unityType))
			{
				return d1[unityType];
			}
			else
			{
				return "newGroup";
			}
		}
	}
}